﻿<%@ Page Language="C#" MasterPageFile="~/DefaultPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" Title="Untitled Page" %>

<%@ Register src="usercontrol/other/Login.ascx" tagname="Login" tagprefix="uc1" %>

<%@ Register src="usercontrol/catalog/Menucategory.ascx" tagname="Menucategory" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script language="javascript" type="text/javascript" src="js/jquery.easing.js"></script>
<script language="javascript" type="text/javascript" src="js/script.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHeader" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceSlide" Runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceMain" Runat="Server">
        <asp:Repeater ID="Rpclass" runat="server" 
            onitemdatabound="Rpclass_ItemDataBound">
        <ItemTemplate>
           <div class="groupheader">
                <img src="http://localhost:2011/didong/images/design/arrow.gif" alt="" />
                <a href='<%# "http://localhost:2011/didong/category/" + Eval("Class_Title") %>'
                    title='<%#Eval("Class_Name") %>'>
                    <%#Eval("Class_Name") %></a>
            </div>
            <asp:ListView ID="litsproduct" runat="server">
                <GroupTemplate>
                    <div id="items" runat="server" class="group">
                        <asp:PlaceHolder runat="server" ID="itemPlaceholder" />
                    </div>
                </GroupTemplate>
                <LayoutTemplate>
                    <div class="groupborder">
                        <div runat="server" id="groupPlaceholder" class="groupborder">
                            <asp:PlaceHolder runat="server" ID="itemPlaceholder" />
                        </div>
                    </div>
                </LayoutTemplate>
                <ItemTemplate>
                        	<div class="items">
							    <div class="borderImage"><a href='<%#"http://localhost:2011/didong/product/"+Eval("Products_Title")%>'><img  src='<%#"http://localhost:2011/didong/"+Eval("Products_Image") %>' alt=""/></a></div>
							<ul>
								<li class="sp-name"><%# Eval("Products_Name") %></li>
								<li class="sp-price">Giá:<%#Eval("Products_Price","{0:0,0}")%> VNĐ</li>
								<li class="buy"><a href="#" class="btn green"> Mua </a></li>								
							</ul>
					</div>
                </ItemTemplate>
               <EmptyDataTemplate>
                    <div class="groupborder">
                      <center>Không có sản phẩm</center>
                    </div>
                </EmptyDataTemplate>
            </asp:ListView>
        
        </ItemTemplate>
    </asp:Repeater>

</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceFooter" Runat="Server">
    
</asp:Content>

